
public class Place 
{

Boolean Occupee;
Integer numPlace;
Personne occupant;



public Integer getNumPlace() {
	return numPlace;
}


public void setNumPlace(Integer numPlace) {
	this.numPlace = numPlace;
}


public Personne getOccupant() {
	return occupant;
}


public void setOccupant(Personne occupant) 
{
	this.occupant = occupant;
	Occupee=true;
}


public Place(int num_pla) 
{
	numPlace=num_pla;
	Occupee=false;
	occupant=null;
}

public String toString()
{
	String s="Place ";
	s+=numPlace;
	s+=" / ";
	if(Occupee)s+=occupant;
	else s+="Libre";
	return s;
}

}
